package com.weaponlin.entity;

import lombok.Data;

import java.util.Optional;

@Data
public class User {
    private long id;
    private String name;
    private int age;
    private Long phone;
    private Optional<String> email;

    public User() {
    }

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    // 省略setter和getter
}
